package com.zhihua.interview.merge.entity;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("订单实体")
public class OrderEntity {
    //主键ID
    private Integer id;
    //订单id
    private String orderId;
    //商品id
    private String goodsId;
    //商品名称
    private String name;
    //商品数量
    private Integer number;
    //创建时间
    private Date createTime;
    //更新时间
    private Date updateTime;
    //订单状态
    private Integer state;

}
